package com.itcast.java.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 积分变化历史记录实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:27:34
 */
@Data
@TableName("ums_integration_change_history")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UmsIntegrationChangeHistoryEntity对象", description = "积分变化历史记录")
public class UmsIntegrationChangeHistoryEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "member_id")
    @TableField("member_id")
        private Long memberId;

        @ApiModelProperty(value = "create_time")
    @TableField("create_time")
        private Date createTime;

        @ApiModelProperty(value = "变化的值")
    @TableField("change_count")
        private Integer changeCount;

        @ApiModelProperty(value = "备注")
    @TableField("note")
        private String note;

        @ApiModelProperty(value = "来源[0->购物；1->管理员修改;2->活动]")
    @TableField("source_tyoe")
        private Integer sourceTyoe;

        }